package com.example.sunming.excel;

import java.util.ArrayList;
import java.util.List;

public class ExcelTest {

    public static void main(String[] args) {
        String fileName = "D:/测试.xlsx";
        String sheetName = "测试";
        List<ExcelEntity> excelEntities = new ArrayList<>();
        excelEntities.add(new ExcelEntity("liuzhou", 40));
        EasyExcelUtil.simpleWrite(fileName, sheetName, excelEntities, ExcelEntity.class);
    }

}